package com.example.robertluozizhao.java.design.builder;

/**
 * Created by Lzz on 8/22/2019.
 */

public class WangZheBuilder {

    private String android;
    private String java;
    private String ui;

    public WangZheBuilder() {
    }

    public WangZheBuilder setAndroid(String android) {
        this.android = android;
        return this;
    }

    public WangZheBuilder setJava(String java) {
        this.java = java;
        return this;
    }

    public WangZheBuilder setUi(String ui) {
        this.ui = ui;
        return this;
    }

    public String getAndroid() {
        return android;
    }

    public String getJava() {
        return java;
    }

    public String getUi() {
        return ui;
    }

    public WangZheApp  build(){
        return new WangZheApp(this.getAndroid(),this.getJava(),this.getUi());
    }

}
